<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
   <jsp:include page="../Apariencia/Cabecera.jsp"/>
<%

                    if (session.getAttribute("loginuser")!=null){
                     int rol = (Integer)session.getAttribute("loginrol");
                    if(rol==1){
                        %>

<html>

    <head>
        <title>FLOG - Administraci&oacute;n</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <div id="administracion" class="admon">
        <body>
            <h1>ADMINISTRACI&Oacute;N</h1>
            <table class="links" align=center >
                <tr>
                    <td><a href="../Administracion/AdmonPost.jsp"><img src="../images/administrapost.png"/></a></td>
                    <td></td>
                    <td><a href="../Administracion/AdmonCreaPost.jsp"><img src="../images/nuevopost.png"/></a></td>
                    <td></td>
                    <td><a href="../Administracion/AdmonCV.jsp"><img src="../images/modificacv.png"/></a></td>
                </tr>
                <tr>
                    <td></td>
                    <td><a href="../Administracion/AdmonGalerias.jsp"><img src="../images/administragalerias.png"/></a></td>
                    <td></td>
                    <td><a href="../Administracion/AdmonBio.jsp"><img src="../images/modificabio.png"/></a></td>
                    <td></td>
                </tr>
                <tr>
                    <td><a href="../Administracion/AdmonNuevaFoto.jsp"><img src="../images/subefotos.png"/></a></td>
                    <td></td>
                    <td><a href="../Administracion/AdmonUsuarios.jsp"><img src="../images/usuarios.png"/></a></td>
                </tr>
            </table>
        </body>
    </div>
</html>
<%
                        }
                    else{
                    response.sendRedirect("../Apariencia/VistaPost.jsp");
                    }}
                  %>